/* COMPORTAMIENTO GLOBAL */
body {
  font-family: "acumin-pro", sans-serif;
  font-weight: 300;
  font-style: normal;
  margin: 0;
  padding: 0;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  flex: 1;
  padding-bottom: 80px;
}

/* BANNER INICIAL */
.banner {
  width: 100%;
  max-height: 325px;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ENCABEZADO Y NAVEGACIÓN */
header {
  background: linear-gradient(to right,
      #A62144,
      #C3345B,
      #D94B6A,
      #cf5b6f,
      #f07e8d,
      #db808e
    );

  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.barra-navegacion {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.barra-navegacion ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.barra-navegacion ul.menu {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}

.barra-navegacion li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.barra-navegacion li a:hover {
  background-color: #1ab6e6;
  color: white;
}

.barra-navegacion li a.activo {
  background-color: #f5d33f;
  color: white;
  border-radius: 5px;
}

/* MENÚ HAMBURGUESA (móviles)*/
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* SECCIONES Y CONTENEDORES */
section {
  padding: 20px;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  background-color: white;
  overflow-x: hidden;
  text-align: justify;
  color: #333;

}

section.active {
  animation: fadeIn 0.6s ease-in-out;
}

.fondo-especial {
  background: #fff6f9;
}

/* CONTENIDO Y TEXTO GENERAL */

strong {
  font-weight: 600;
  color: #333;
  font-weight: bold;
}

.tit h1 {
  font-family: "acumin-pro", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #DC143C;
  font-size: 180%;
  text-align: left;
}

h1,
h2 {
  font-family: "acumin-pro", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #DC143C;
  font-size: 180%;
  text-align: center;
}

h3 {
  font-family: "acumin-pro", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-align: center;
  font-weight: bold;
}

h4 {
  font-family: "acumin-pro", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-align: left;
  font-weight: bold;
}

.tit h4 {
  font-family: "acumin-pro", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-align: center;
  font-weight: bold;
}

.tit p {
  text-align: center;
}

p {
  text-align: justify;
}

/*AJUSTES A IMÁGENES*/

.galeria-horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.galeria-horizontal img {
  max-width: 100%;
  height: auto;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-horizontal img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

img {
  max-width: 100%;
  height: auto;
  justify-content: center;
}

.contenedor-imagen-mvv {
  text-align: center;
  padding: 20px;
}

.contenedor-imagen-mvv img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.contenedor-imagen-equipo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.contenedor-imagen-equipo img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.contenedor-imagen-proceso {
  max-width: 1200px;
  margin: 0 auto;
}

.contenedor-imagen-proceso img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

/* TARJETAS Y COLUMNAS */

.contenedor-tarjetas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

/* Estilo base de cada tarjeta */
.tarjeta-info1,
.tarjeta-info2,
.tarjeta-info3 {
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  word-wrap: break-word;
}

/* Colores específicos por tarjeta */
.tarjeta-info1 {
  background-color: #00DFFC;
}

.tarjeta-info2 {
  background-color: #FF00C8;
}

.tarjeta-info3 {
  background-color: #A6FE5A;
}

/* Hover en todas las tarjetas */
.tarjeta-info1:hover,
.tarjeta-info2:hover,
.tarjeta-info3:hover {
  transform: translateY(-5px);
}

/* Títulos (h3) */
.tarjeta-info1 h3,
.tarjeta-info2 h3,
.tarjeta-info3 h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
}

/* Párrafos y listas */
.tarjeta-info1 p,
.tarjeta-info2 p,
.tarjeta-info3 p,
.tarjeta-info1 li,
.tarjeta-info2 li,
.tarjeta-info3 li {
  list-style: none;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  text-align: center;
  font-weight: bold;
}

/* Estilo de listas */
.tarjeta-info1 ul,
.tarjeta-info2 ul,
.tarjeta-info3 ul {
  padding-left: 20px;
}

.contenedor-dos-columnas {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.columna-izquierda,
.columna-derecha {
  flex: 1;
  min-width: 300px;
  word-wrap: break-word;
}

#contacto .columna-izquierda {
  margin-left: 30px;
}

#contacto .columna-derecha {
  margin-right: 30px;
}

/* REDES SOCIALES Y CONTACTO */

.info-contacto {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.social-links img,
.whatsapp-contacto img,
.icono-tel,
.icono-correo,
.icono-horario,
.icono-mapa {
  width: 50px;
  height: 50px;
}

.social-links img {
  margin-top: 30px;
  margin-right: 30px;
}

.social-links a,
.social-links a:visited {
  text-decoration: none;
}

.social-links a:focus {
  outline: none;
}

.icono-red {
  height: 50px;
  width: 50px;
  transition: transform 0.3s ease;
}

.icono-red:hover,
.icono-correo:hover {
  transform: scale(1.2);
}

.social-whatsapp {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.whatsapp-contacto:hover {
  color: #DC143C;
}

.telefono-link a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-size: 16px;
}

.telefono-link a:hover,
.correo-link a:hover {
  color: #DC143C;
}

.correo-link a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.direccion-mapa {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.direccion-mapa a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.direccion-mapa a:hover span {
  color: #DC143C;
}

.btn-wsp {
  position: fixed;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.btn-wsp:hover {
  transform: scale(1.1);
}

.btn-wsp img {
  width: 35px;
  height: 35px;
}

/* Posiciones individuales */
.wsp-1 {
  bottom: 90px;
  background-color: #A6FE5A;
}

.wsp-2 {
  bottom: 20px;
  background-color: #1adfc8;
}

/* BOTONES CATÁLOGO */

.botones-cat {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.boton-ver {
  background-color: #A93226;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  min-width: 120px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.boton-ver:hover {
  background-color: #922B21;
}

/* PIE DE PÁGINA */

.ft {
  background: linear-gradient(to right,
      #A62144,
      #C3345B,
      #D94B6A,
      #cf5b6f,
      #f07e8d,
      #db808e
    );
  text-align: center;
  padding: 10px;
  font-size: 14px;
  margin-top: auto;
}

.ft p,
.ft a,
.ft a:visited {
  color: white;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

.ft a:hover {
  color: #f5d33f;
}

/* ANIMACIONES */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE DESIGN (ADAPTABLE A PANTALLAS PEQUEÑAS) */

@media (max-width: 2000px) {
 .banner {
  width: 100%;
  max-height:400px;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
  }

/* Tablet: hasta 1024px */
@media (max-width: 1024px) {
  .contenedor-dos-columnas {
    flex-direction: column;
    gap: 30px;
  }

  header {
    flex-direction: column;
    align-items: center;
    padding: 10px;
    height: auto;
  }

  header img {
    height: 100px;
    margin-bottom: 10px;
  }

  nav ul li {
    margin:0;
  }

  #contacto .columna-izquierda,
  #contacto .columna-derecha {
    margin: 0;
    padding: 0 20px;
  }

  .social-links img {
    width: 50px;
    margin: 15px;
  }
}

/* Móvil: hasta 768px */
@media (max-width: 768px) {
  .banner-img {
    height: 170px;
    max-height: auto;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }

  .barra-navegacion {
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
  }

  .barra-navegacion ul.menu {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    height: 100vh;
    width: 250px;
    background: linear-gradient(to right, #A62144, #C3345B, #D94B6A, #cf5b6f, #f07e8d, #db808e);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 60px 20px;
    gap: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }

  .barra-navegacion ul.menu.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .barra-navegacion li {
    width: 100%;
  }

  .barra-navegacion li a {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-weight: bold;
  }

  #contacto .columna-izquierda,
  #contacto .columna-derecha {
    margin: 0;
    padding: 0 10px;
  }
}

/* Extra pequeñas: hasta 480px */
@media (max-width: 480px) {
  h2 {
    font-size: 150%;
  }

  strong {
    font-size: 130%;
  }

  .boton-ver,
  .boton-descarga {
    min-width: 100%;
    padding: 12px;
  }

  .ft {
    font-size: 14px;
    padding: 10px;
  }

  * {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .info-contacto span,
  .direccion-mapa span,
  .correo-link span {
    display: block;
    word-break: break-word;
    white-space: normal;
  }

  .contenedor-dos-columnas {
    width: 100%;
    margin: 0 auto;
  }

  section {
    padding: 20px;
    margin: 10px;
  }

  /* Íconos y texto alineados horizontalmente, alineados a la izquierda */
  .direccion-mapa,
  .telefono-link,
  .whatsapp-contacto,
  .correo-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
    flex-wrap: wrap;
  }

  .direccion-mapa a,
  .telefono-link a,
  .whatsapp-contacto a,
  .correo-link a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-align: left;
  }

  .correo-link span {
    display: inline;
    margin-top: 0;
  }

  .social-whatsapp {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 10px;
  }

  .whatsapp-contacto span {
    display: inline;
    margin-top: 0;
  }
}

/* Imágenes grandes*/
@media (max-width: 1024px) {

  .contenedor-imagen-mvv,
  .contenedor-imagen-equipo {
    padding: 15px;
  }

  .contenedor-imagen-mvv img,
  .contenedor-imagen-equipo img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {

  .contenedor-imagen-mvv,
  .contenedor-imagen-equipo {
    padding: 10px;
  }

  .contenedor-imagen-mvv img,
  .contenedor-imagen-equipo img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {

  .contenedor-imagen-mvv,
  .contenedor-imagen-equipo {
    padding: 10px 5px;
  }

  .contenedor-imagen-mvv img,
  .contenedor-imagen-equipo img {
    width: 100%;
    height: auto;
    border-radius: 0;
  }
}

@media (max-width: 1024px) {
  .contenedor-imagen-proceso {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .contenedor-imagen-proceso {
    padding: 10px;
  }

  .contenedor-imagen-proceso img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .contenedor-imagen-proceso {
    padding: 10px 5px;
  }

  .contenedor-imagen-proceso img {
    width: 100%;
    height: auto;
  }
}

/* En pantallas grandes, 3 en fila */
@media (min-width: 1024px) {
  .galeria-horizontal img {
    width: 30%;
  }
}

/* En tablets, 2 en fila */
@media (min-width: 768px) and (max-width: 1023px) {
  .galeria-horizontal img {
    width: 45%;
  }
}

/* En móviles, 1 por fila */
@media (max-width: 767px) {
  .galeria-horizontal img {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .barra-navegacion ul.menu {
    flex-wrap: nowrap;             
    justify-content: center;       
    gap: 6px;                      
    padding: 0 5px;                
  }

  .barra-navegacion li a {
    font-size: 13px;               
    padding: 6px 8px;           
    white-space: nowrap;           
  }

  nav ul li {
    margin: 0;                  
  }
}

